package com.quantdo.demo.perspective;

import org.eclipse.ui.IFolderLayout;
import org.eclipse.ui.IPageLayout;

import com.quantdo.demo.view.NavigatorView;

public class IndexPerspective {

	public void createInitialLayout(IPageLayout layout) {
		String navigatorViewId = NavigatorView.class.getName();
		String editorArea = layout.getEditorArea();
		System.out.printf("%s", editorArea);
		layout.addView(navigatorViewId, IPageLayout.LEFT, 0.3f, editorArea);
		
		IFolderLayout folderLayout = layout.createFolder("left", IPageLayout.BOTTOM, 0.4f, navigatorViewId);
		folderLayout.addView(navigatorViewId);
	}
}
